package com.example.mapper;


import com.example.entity.SensorData;
import com.example.entity.Sensors;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.Date;
import java.util.List;

public interface SensorDataMapper {

    boolean addSensorData(SensorData sensorData);

    List<SensorData> getById(Integer id);

    List<SensorData> getToday(Date date);

    void deleteByGreenHouseId(Integer id);
}
